package com.dj.mingkong.portal.biz.enums;

/**
 * @author zenglonghui
 * @date: 2022/6/17 18:00
 */
public enum TopEnum {
    NOT(0, "未置顶"),
    TOPPED(1, "已置顶");

    private Integer intVal;
    private String desc;

    TopEnum(Integer intVal, String desc) {
        this.intVal = intVal;
        this.desc = desc;
    }

    public Integer getIntVal() {
        return intVal;
    }

    public String getDesc() {
        return desc;
    }

    public boolean equalsIntVal(Integer intVal) {
        return this.intVal.equals(intVal);
    }
}
